package qeug.shsh.facde.info;

import kd.bos.openapi.common.custom.annotation.ApiModel;
import kd.bos.openapi.common.custom.annotation.ApiParam;
import java.io.Serializable;
import java.util.List;

/**
 * @projectName: qeug-cosmic-root-project
 * @package: qeug.shsh.facde.info
 * @className: AuditDataV2
 * @author: xuhaihui
 * @description: TODO
 * @date: 2025/1/14/16:40
 * @version: 1.0
 */
@ApiModel
public class AuditDataV2 {

    @ApiParam(value = "单据编码", example = "ABC123")
    private String dataId;

    @ApiParam(value = "数据版本号", example = "v1.0")
    private String dataVersion;

    @ApiParam(value = "流程名", example = "SH_CW_CCS付款申请")
    private String processName;

    @ApiParam(value = "流程实例号", example = "12")
    private int incident;

    @ApiParam(value = "流程名+实例号", example = "SH_CW_CCS付款申请12")
    private String bpm;

    @ApiParam(value = "流程发起人", example = "zhangsan")
    private String initiatorName;

    @ApiParam(value = "审批状态", example = "1")
    private int appResult;

    @ApiParam(value = "当前审批人", example = "李四")
    private String currentUserName;

    @ApiParam(value = "分录", example = "")
    private List<appHistory> appHistory;

    public String getDataId() {
        return dataId;
    }

    public void setDataId(String dataId) {
        this.dataId = dataId;
    }

    public String getDataVersion() {
        return dataVersion;
    }

    public void setDataVersion(String dataVersion) {
        this.dataVersion = dataVersion;
    }

    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName;
    }

    public int getIncident() {
        return incident;
    }

    public void setIncident(int incident) {
        this.incident = incident;
    }

    public String getBpm() {
        return bpm;
    }

    public void setBpm(String bpm) {
        this.bpm = bpm;
    }

    public String getInitiatorName() {
        return initiatorName;
    }

    public void setInitiatorName(String initiatorName) {
        this.initiatorName = initiatorName;
    }

    public int getAppResult() {
        return appResult;
    }

    public void setAppResult(int appResult) {
        this.appResult = appResult;
    }

    public String getCurrentUserName() {
        return currentUserName;
    }

    public void setCurrentUserName(String currentUserName) {
        this.currentUserName = currentUserName;
    }

    public List<AuditDataV2.appHistory> getAppHistory() {
        return appHistory;
    }

    public void setAppHistory(List<AuditDataV2.appHistory> appHistory) {
        this.appHistory = appHistory;
    }

    @ApiModel
    public static class appHistory implements Serializable {
        @ApiParam(value = "审批人编码", example = "zhangsan")
        private String loginName;
        @ApiParam(value = "审批人名称", example = "张三")
        private String userName;
        @ApiParam(value = "审批节点", example = "审批1")
        private String stepName;
        @ApiParam(value = "审批结果", example = "同意")
        private String result;
        @ApiParam(value = "审批意见", example = "审批1")
        private String remark;
        @ApiParam(value = "审批时间", example = "2025-01-14 16:40:00")
        private String signTime;

        public String getLoginName() {
            return loginName;
        }

        public void setLoginName(String loginName) {
            this.loginName = loginName;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getStepName() {
            return stepName;
        }

        public void setStepName(String stepName) {
            this.stepName = stepName;
        }

        public String getResult() {
            return result;
        }

        public void setResult(String result) {
            this.result = result;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getSignTime() {
            return signTime;
        }

        public void setSignTime(String signTime) {
            this.signTime = signTime;
        }
    }

}
